<div class="am-u-sm-12 widget main-w">
	<ol class="am-breadcrumb">
		<li class="am-active">{$item.username?账号编辑:添加账号}</li>
	</ol>
	<div class="am-u-sm-12" style="padding: 40px;">
		<div class="am-u-sm-12" style="background: #fff;">
		<form class="am-form-inline tpl-form-border-form" id="adduser" data-check="1" action="" data-ajax="1">
				<input type="hidden" name="user_id" value="{$item.user_id}" />
				<div style="padding：30px;">
					<div class="am-u-sm-12" style="padding-bottom: 10px;">
						<div class="am-u-sm-12">
							<label class="am-u-sm-2 am-form-label cl-p" style="line-height: 35px;" >账号： </label>
							<div class="am-form-group am-u-sm-10 cl-p">
								<div class="am-u-sm-10 cl-p">
									<input type="text" class="tpl-form-input" data-check="require" name="username" data-msg='账号不能为空' value="{$item.username}" style="line-height: 21px;" />
									<small style="font-size: 12px;color: #ccc;">所有单位中账号不能重复</small>
								</div>
								
							</div>
						</div>
					</div>
					<div class="am-u-sm-12" style="padding-bottom: 10px;">
						<div class="am-u-sm-12">
							<label class="am-u-sm-2 am-form-label cl-p" style="line-height: 35px;" >手机号： </label>
							<div class="am-form-group am-u-sm-10 cl-p">
								<div class="am-u-sm-10 cl-p">
									<input type="text" class="tpl-form-input" data-check="mobile" name="mobile" data-msg='手机格式不正确' value="{$item.mobile}" style="line-height: 21px;" />
									<small style="font-size: 12px;color: #ccc;">所有单位中手机号不能重复</small>
								</div>
								
							</div>
						</div>
					</div>
					<div class="am-u-sm-12" style="padding-bottom: 10px;">
						<div class="am-u-sm-12">
							<label  class="am-u-sm-2 am-form-label cl-p" style="line-height:35px;">密码： </label>
							<div class="am-form-group am-u-sm-10 cl-p">
								<div class="am-u-sm-10 cl-p">
									<input type="text" class="tpl-form-input"  name="password"   style="line-height: 21px;" /><small style="font-size: 12px;color: #ccc;">留空不修改</small>
								</div> 
							</div>
						</div>
					</div>
					<!--<div class="am-u-sm-12" style="padding-bottom: 10px;">-->
						<!--<div class="am-u-sm-12">-->
							<!--<label class="am-u-sm-2 am-form-label cl-p" style="line-height: 35px;">角色：</label>-->
							<!--<div class="am-form-group am-u-sm-10 cl-p">-->
								<!--<div class="am-form-group am-u-sm-10 cl-p">-->
								<!--<select name="role_id[]" data-am-selected="{btnWidth:'100%', btnSize: 'sm',maxHeight:300}" multiple="true">-->
									<!--{$role_ids}-->
								<!--</select>-->
								<!--</div>-->
							<!--</div>-->
						<!--</div>-->
					<!--</div>-->
					
					
					<div class="am-u-sm-12" style="padding-bottom: 10px;">
						<div class="am-u-sm-12">
							<div class="am-u-sm-4"> &nbsp;</div>
							<div class="am-u-sm-4">
							<div class="am-btn am-btn-primary am-radius keep" style="margin-top: -2px;">保存</div>
							<a href="{:url('index')}" class="am-btn am-btn-primary am-radius" style="margin-top: -2px;">返回</a>
							</div>
							<div class="am-u-sm-4"> &nbsp;</div>
						</div>
					</div>
				</div>
		</form>
		</div>
	</div> 
</div>